package com.eddie.decorator;

/**
 * 具体的Decorator，这里就是调味品
 * @author Eddie
 * @date 2022/08/01 09:21
 **/
public class Chocolate extends Decorator{
    public Chocolate(Drink obj) {
        super(obj);
        setDes("巧克力");
        setPrice(3.0f);//调味品的价格
    }
}
